<?php

namespace App\Enums;

use App\Traits\EnumTrait;

/**
 * @method static self RENT
 * @method static self LEASE
 */
class GoodsBusinessEnum extends \PhpEnum\PhpEnum
{
    use EnumTrait;

    const RENT = [1, "租赁业务"];
    const LEASE = [2, "分期业务"];

    protected function construct($key, $name)
    {
        $this->key = $key;
        $this->name = $name;
    }
}
